package com.yichenyang.ordersystem.entity;

import java.io.Serializable;

public class OrderProduct implements Serializable {

    private static final long serialVersionUID = -24861105987081898L;

    private int pid;

    private String name;

    private Double price;

    private int qty;

    private Double sum;

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public int getQty() {
        return qty;
    }

    public void setQty(int qty) {
        this.qty = qty;
    }

    public Double getSum() {
        return sum;
    }

    public void setSum(Double sum) {
        this.sum = sum;
    }
}
